package net.yla.smartbus.module.ba.right.account.mapper;

import net.yla.smartbus.module.ba.right.account.entity.LoginLogsDO;
import net.yla.smartbus.module.ba.right.admin.entity.AdminLoginLogsDO;
import net.yla.smartbus.module.ba.right.admin.query.LogCount;
import net.yla.smartbus.module.ba.right.admin.query.LogQuery;

import java.util.List;

/**
 * @Date: 2020-08-29 11:14
 * @Author: Being Nobody
 * @Version: 1.0
 */
public interface LoginLogsMapper {
    int deleteByPrimaryKey(Integer logId);

    int insert(LoginLogsDO record);

    int insertSelective(LoginLogsDO record);

    LoginLogsDO selectByPrimaryKey(Integer logId);

    int updateByPrimaryKeySelective(LoginLogsDO record);

    int updateByPrimaryKey(LoginLogsDO record);

    int logOfCount(LogCount query, long ip);

    List<LoginLogsDO> logOfQuery(LogQuery query, Long ip);

    int delLog(Integer id);

    //
}